#!/bin/bash


# curl -s  http://wuyou.run/scripts/deploy/dap.sh |bash

cp /etc/cloudera-scm-agent/config.ini /etc/cloudera-scm-agent/config.ini_bak
sed -i  '/^server_host/c server_host=192.168.1.108' /etc/cloudera-scm-agent/config.ini
service cloudera-scm-agent restart